import { request } from "@/utils/http"
import { getHospitalSetListParamsType, getHospitalSetListType } from "./model/hospitalSetType"


export const getHospitalSetListRequire = ({ page, limit, hosname, hoscode }: getHospitalSetListParamsType) => {
    return request.get<any, getHospitalSetListType>(`/admin/hosp/hospitalSet/${page}/${limit}`, {
        params: {
            hosname,
            hoscode
        }
    })
}